package com.pzsh.service;

import com.pzsh.entity.SpecialEntity;
import com.pzsh.entity.TransactionEntity;
import com.pzsh.entity.vo.SpecialVo;
import com.pzsh.entity.vo.TransactionVo;
import com.pzsh.entity.vo.UserPackVo;
import com.pzsh.util.PageResult;

import java.util.List;

/**
 * @Description: 积分相关服务
 * @Param:
 * @return:
 * @Author: gxl
 * @Date: 2019/12/09
 */
public interface IIntegralService {


    /**
     * 查询用户积分
     * @param account
     * @return
     */
    UserPackVo selectIntegralByAccount(String account);

    /**
     * ps 转账用户
     * @param account
     * @param mobile
     * @param numb
     * @param payPwd
     * @param vcode
     */
    void psTransfer(String account, String mobile, Integer numb, String payPwd, String vcode);

    /**
     * PS转账 验证码
     * @param account
     */
    void sendVerificationCodeForPS(String account);

    /**
     *
     * 获取明细详情
     * @param account
     * @param recordType
     * @param pageSize
     * @param rowSize
     * @return
     */
    PageResult<List<TransactionVo>> getTrans(String account, Integer recordType, Integer pageSize, Integer rowSize);

    /**
     * 获取矿工费和pzsh市价
     * @return
     */
    List<SpecialVo> getPzshMiner();

    /**
     * RD转 PS
     * @param account
     */
    void RD2PS(String account);

    /**
     * 赠送ps转账
     * @param account
     * @param mobile
     * @param iii
     * @param payPwd
     * @param vcode
     */
    void rewardPsTransfer(String account, String mobile, Integer iii, String payPwd, String vcode);
}
